package com.example.fastgithub.presenter;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.example.fastgithub.utils.UrlUtils;

public class presenter implements Ipresenter {

    @Override
    public void jump(Context context, Class IntentClass,String url) {
        Intent in=new Intent(context,IntentClass);
        Bundle bundle=new Bundle();
        bundle.putString("url",UrlUtils.changeUrl(url));
        in.putExtra("Intent",bundle);
        context.startActivity(in);
    }
}
